from sanic import Blueprint
from sanic.response import json

bp = Blueprint(__name__, url_prefix='/login')

# /login/
@bp.route("/")
async def root(request):
    return json({"msg": "hi login.py"})

@bp.get("/quit")
async def quit(request):
    return json({"msg": "quit"})